package com.itmatter.classifier.rmi;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 *
 * @author Daniel.Fisla
 */
public interface RemoteClassifierInterface extends Remote {

    //<T> T executeTask(Task<T> t) throws RemoteException;
    public String getClassification(Object item) throws RemoteException;
    public String getClassification(Object item, String defaultCat) throws RemoteException;
    /*
    public Double getFeatureProbability(String feature, String category);
    public Double getWeightedFeatureProbability(String feature, String category);

    public Set<String> getCategories();
    */
    public void train(Object item, String category) throws RemoteException;
    
    public void deleteAllData() throws RemoteException;
}
